package com.cssw.fyzb.busi.service.user;

import com.cssw.fyzb.core.model.dodb.UserSource;

public interface UserSourceService {
    Long save(Long userId, Integer sourceType, String sourceCode, String sourceName);

    UserSource getBySourceCode(String sourceCode);

    UserSource getBySourceCode(Integer sourceType, String sourceCode);

    UserSource getBySourceCode(Long userId, Integer sourceType);
}
